{include file="header.tpl" title="Duyen san pham DD"}
<form action="" method="post" name="sanpham" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
  <tr>
    <td nowrap="nowrap" width="25%">{$lbl_masanpham}</td>
    <td width="35%" nowrap="nowrap" style="color:#FF0000">
        <input name="ASCODE" id="ASCODE" type="text" style="background:{$colorASCODE}" value="{$ASCODE}" size="20" maxlength="10" onkeyup="this.value=this.value.toUpperCase().replace(' ','');"  {if $activefield eq 'enabled' } readonly="readOnly"{/if}/>
        *
        
        <input type="submit" name="find" value="    " id="replacement_find" {if $activefield eq 'enabled' } disabled="disabled"{/if} /></td>
    <td nowrap="nowrap" >&nbsp;</td>
    <td width="23%" nowrap="nowrap" style="color:#FF0000">&nbsp;</td>
  </tr>
  <tr>
    <td>{$lbl_ASDESC}</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="ASDESC" type="text" id="ASDESC" style="background:{$colorASDESC}" value="{$ASDESC}" size="40" maxlength="50" readonly="readonly" />
      *</span></td>
    </tr>
  <tr>
    <td>{$lbl_CIFTYPE}</td>
    <td colspan="2"><span style="color:#FF0000">
      <textarea name="CIFTYPE" cols="20" id="CIFTYPE" style="background:{$colorCIFTYPE}" readonly="readonly">{$CIFTYPE}</textarea>
    *</span></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
  	<td>{$lbl_TERMNO}</td>
    <td><input name="TERMNO" type="text" id="TERMNO" style="background:{$colorTERMNO}; text-align:right;" onkeypress="return numberOnly(event);" value="{$TERMNO}" size="20" maxlength="2" readonly="readonly"/>
      <span style="color:#FF0000">*</span></td>
    <td>{$lbl_CURCODE}</td>
    <td><select name="CURCODE" size="1" disabled="disabled">
			{foreach from=$cbo_CURCODE key=k item=v}
      <option value="{$k}" {if $k eq $CURCODE} selected="selected" {/if} >{$k} - {$v}</option>
		{/foreach}
    </select>
      <span style="color:#FF0000">*</span> </td>
  </tr>
  <tr>
    <td>{$lbl_TRMBSONPRD}</td>
    <td><select name="TRMBSONPRD" id="TRMBSONPRD" size="1"  disabled="disabled">           
      {foreach from=$cbo_TRMBSONPRD key=k item=v}           
     <option value="{$k}" {if $k eq $TRMBSONPRD} selected="selected" {/if} >{$k} - {$v}</option>   
	  {/foreach}    
    </select>    </td>
    <td>{$lbl_EFFDATE}</td>
    <td><input type="text" value="{$EFFDATE}" onfocus="this.select();lcs(this)" onclick="event.cancelBubble=true;this.select();lcs(this)" name="EFFDATE" size="20" style="background:{$colorEFFDATE}" readonly="readOnly" /></td>
  </tr>
  <tr>
    <td>{$lbl_GLACCT}</td>
    <td><span style="color:#FF0000">
      <input name="GLACCT" id="GLACCT" type="text"  value="{$GLACCT}" style="background:{$colorGLACCT}" size="20" maxlength="10" onkeypress="return numberOnly(event);" readonly="readonly"/>
    </span>
      <input type="button" onclick="mywindow = window.open('microbank_id.php?name=GLACCT', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findlaisuat2232" id="replacement_binoculars" value="     " style="visibility:hidden"/></td>
    <td width="17%">{$lbl_EXPDATE}</td>
    <td><input name="EXPDATE" type="text" id="EXPDATE" style="background:{$colorEXPDATE}" onfocus="this.select();lcs(this)" onclick="event.cancelBubble=true;this.select();lcs(this)" value="{$EXPDATE}" size="20" readonly="readOnly" /></td>
  </tr>
  <tr>
<td colspan="4"><hr></td>
</tr>
  <tr>
    <td>{$lbl_CURMIN1}</td>
    <td><input name="CURMIN1" type="text" id="CURMIN1" style="background:{$colorCURMIN1}; text-align:right;" onblur="formatNumber2(this,this.value,18,2)" onkeypress="return numberOnly(event);" value="{$CURMIN1}" size="20" maxlength="20" readonly="readonly"/></td>
    <td>{$lbl_INTCODE1}</td>
    <td><input name="INTCODE1" type="text" id="INTCODE1" style="background:{$colorINTCODE1}" value="{$INTCODE1}" size="20" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly"/></td>
  </tr>
  <tr>
    <td>{$lbl_INTRATE1}</td>
    <td><input name="INTRATE1" type="text" id="INTRATE1" style="background:{$colorINTRATE1}; text-align:right;" onblur="formatNumber2(this,this.value,4,4)" onkeypress="return numberOnly(event);" value="{$INTRATE1}" size="20" maxlength="8" readonly="readonly"/></td>
	<td>{$lbl_PRDCODE1}</td>
	<td><span style="color:#FF0000">
	  <input name="PRDCODE1" id="PRDCODE1" type="text"  value="{$PRDCODE1}" style="background:{$colorPRDCODE1}" size="20" maxlength="10" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly"/>
	</span></td>
  </tr>
  <tr>
<td colspan="4"><hr></td>
</tr>
  <tr>
    <td>{$lbl_CURMIN2}</td>
    <td><input name="CURMIN2" type="text" id="CURMIN2" style="background:{$colorCURMIN2}; text-align:right;" onblur="formatNumber2(this,this.value,18,2)" onkeypress="return numberOnly(event);" value="{$CURMIN2}" size="20" maxlength="20" readonly="readonly"/></td>
    <td>{$lbl_INTCODE2}</td>
    <td><input name="INTCODE2" type="text" id="INTCODE2" style="background:{$colorINTCODE2}" value="{$INTCODE2}" size="20" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly"/></td>
  </tr>
  <tr>
    <td>{$lbl_INTRATE2}</td>
    <td><input name="INTRATE2" type="text" id="INTRATE2" style="background:{$colorINTRATE2}; text-align:right;" onblur="formatNumber2(this,this.value,4,4)" onkeypress="return numberOnly(event);" value="{$INTRATE2}" size="20" maxlength="8" readonly="readonly"/></td>
    <td>{$lbl_PRDCODE2}</td>
    <td><span style="color:#FF0000">
      <input name="PRDCODE2" id="PRDCODE2" type="text"  value="{$PRDCODE2}" style="background:{$colorPRDCODE2}" size="20" maxlength="10" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly"/>
    </span></td>
  </tr>
  
  <tr>
<td colspan="4"><hr></td>
</tr>
  <tr>
    <td>{$lbl_CURMIN3}</td>
    <td><input name="CURMIN3" type="text" id="CURMIN3" style="background:{$colorCURMIN3}; text-align:right;" onblur="formatNumber2(this,this.value,18,2)" onkeypress="return numberOnly(event);" value="{$CURMIN3}" size="20" maxlength="20" readonly="readonly"/></td>
    <td>{$lbl_INTCODE3}</td>
    <td><input name="INTCODE3" type="text" id="INTCODE3" style="background:{$colorINTCODE3}" value="{$INTCODE3}" size="20" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly"/></td>
  </tr>
  <tr>
    <td>{$lbl_INTRATE3}</td>
    <td><input name="INTRATE3" type="text" id="INTRATE3" style="background:{$colorINTRATE3}; text-align:right;" onblur="formatNumber2(this,this.value,4,4)" onkeypress="return numberOnly(event);" value="{$INTRATE3}" size="20" maxlength="8" readonly="readonly"/></td>
    <td>{$lbl_PRDCODE3}</td>
    <td><span style="color:#FF0000">
      <input name="PRDCODE3" id="PRDCODE3" type="text"  value="{$PRDCODE3}" style="background:{$colorPRDCODE3}" size="20" maxlength="10" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly"/>
    </span></td>
  </tr>
  
  <tr>
<td colspan="4"><hr></td>
</tr>
  <tr>
    <td>{$lbl_CURMIN4}</td>
    <td><input name="CURMIN4" type="text" id="CURMIN4" style="background:{$colorCURMIN4}; text-align:right;" onblur="formatNumber2(this,this.value,18,2)" onkeypress="return numberOnly(event);" value="{$CURMIN4}" size="20" maxlength="20" readonly="readonly"/></td>
    <td>{$lbl_INTCODE4}</td>
    <td><input name="INTCODE4" type="text" id="INTCODE4" style="background:{$colorINTCODE4}" value="{$INTCODE4}" size="20" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly"/></td>
  </tr>
  <tr>
    <td>{$lbl_INTRATE4}</td>
    <td><input name="INTRATE4" type="text" id="INTRATE4" style="background:{$colorINTRATE4}; text-align:right;" onblur="formatNumber2(this,this.value,4,4)" onkeypress="return numberOnly(event);" value="{$INTRATE4}" size="20" maxlength="8" readonly="readonly"/></td>
    <td>{$lbl_PRDCODE4}</td>
    <td><span style="color:#FF0000">
      <input name="PRDCODE4" id="PRDCODE4" type="text"  value="{$PRDCODE4}" style="background:{$colorPRDCODE4}" size="20" maxlength="10" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly"/>
    </span></td>
  </tr>
  
  <tr>
<td colspan="4"><hr></td>
</tr>
  <tr>
    <td>{$lbl_CURMIN5}</td>
    <td><input name="CURMIN5" type="text" id="CURMIN5" style="background:{$colorCURMIN5}; text-align:right;" onblur="formatNumber2(this,this.value,18,2)" onkeypress="return numberOnly(event);" value="{$CURMIN5}" size="20" maxlength="20" readonly="readonly"/></td>
    <td>{$lbl_INTCODE5}</td>
    <td><input name="INTCODE5" type="text" id="INTCODE5" style="background:{$colorINTCODE5}" value="{$INTCODE5}" size="20" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly"/></td>
  </tr>
  <tr>
    <td>{$lbl_INTRATE5}</td>
    <td><input name="INTRATE5" type="text" id="INTRATE5" style="background:{$colorINTRATE5}; text-align:right;" onblur="formatNumber2(this,this.value,4,4)" onkeypress="return numberOnly(event);" value="{$INTRATE5}" size="20" maxlength="8" readonly="readonly"/></td>
    <td>{$lbl_PRDCODE5}</td>
    <td><span style="color:#FF0000">
      <input name="PRDCODE5" id="PRDCODE5" type="text"  value="{$PRDCODE5}" style="background:{$colorPRDCODE5}" size="20" maxlength="10" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly" />
    </span></td>
  </tr>
<tr>
<td colspan="4">
<p>&nbsp;</p>
<p>&nbsp;</p></td>
</tr>
<tr>
  <td align="right" nowrap="nowrap" colspan="4">
  <input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'ASCODE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input value="{$lbl_tuchoi}" name="tuchoi" type="submit" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if}/>
 <input value="{$lbl_duyet}" name="duyet" type="submit" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if}  />  </td>
</tr>
<tr>
  <td colspan="4"><input value="{$lbl_lichsuthaydoi}" name="lichsuthaydoi" type="button" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" onclick="mywindow = window.open('lich_su_par_ddass.php?ASCODE={$ASCODE}', 'mywindow','menubar=0,scrollbars=1,resizable=0,width=700,height=300');mywindow.moveTo((screen.width-700)/2,(screen.height-300)/2);" /></td>
</tr>

<tr>
<td colspan="4"><hr></td>
</tr>
<tr>
<td colspan="2">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
{include file="footer.tpl"}
